MASTER-K communication driver(MASTER-K500H/1000H)

 

MASTER-K communication driver is the driver to communicate with PLC(MASTER-K10/30/50/60/200 series and MASTER-K500/1000,500H/1000H) of LSIS Co., Ltd.  in Korea.

You can also use MASTER-K communication driver the model of MASTER-K10S1 PLC by connecting  RS485.

 

1. Read Settings

 

<Figure 1> is read setting example of MASTER-K communication driver.

<Figure 1>  Read setting example of MASTER-K communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(19200), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to setting of PLC.

Baud rate, ... of MASTER-K10/30/50/60/200 model are fixed to 9600, 0, 8, 1.

Baud rate, parity bit, data bit, stop bit of MASTER-K500/1000 PLC can set by using DIP switch.

Please refer MASTER-K PLC manual for more infromation about communication setting.

 

MASTER-K communication driver read schedule

Read schedule setting parameters are as follows:

1) Station – PLC station number.

2) Read memory type – memory type = (P(input/output), M, L, K, F, T, C, D, S. ( refer to <Table 2> )

3) Read start address – reading start address in PLC memory.

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read Size – word unit read size.

 

Read schedule example)

READ,  0,  M,  0,  2,

READ,  0,  L,  2,  2,

READ,  0,  K,  4,  2,

READ,  0,  F,  6,  2,

 

2. Writing settings

You can set MASTER-K PLC by using 'writing settings'. 

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             0 ~ 15 PLC station number when K500/1000 model.

3)  ADDRESS          writing address in PLC memory.

4)  Extra1                  PLC memory type = P,M,L,K.

5) Extra2                   don't care.

 

Write example 1)

PORT:0,  station:0, ADDRESS:0100, Extra1: M,  Extra2 : 0

The setting parameter shown above is M0100 memory control(On, Off) example of MASTER-K PLC.

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             0 ~ 15 PLC station number when K500/1000 model.

3)  ADDRESS          writing address in PLC memory.

4)  Extra1                  PLC memory type = P,M,L,K,T,C,D,S.

5) Extra2                   don't care.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0090, Extra1: L,  Extra2 : 0

The setting parameter shown above is L0090 memory setting example of MASTER-K250 PLC.

 

3. Connection of communication calbe

Connection of communication cable to PLC is as follows.(25 pin connector of PLC)

 

1) MASTER-K30/50/60/200

 

when using RS-232

2 - TxD

3 - RxD

5 – GND

 

2) MASTER-K250/500/1000

 

when using RS-232

2 - TxD

3 – RxD

7 – GND

 

when using RS-422

10 – SD(+)

11 – SD(-)